import ReactDOM from 'react-dom/client'
import App from './App'
import './assets/index.less'
export * from './components/index'

const mode = import.meta.env.VITE_APP_MODE

if (mode !== '生产环境') {
    // reacr18级以上版本，生产环境一定要隐藏这段代码，否则会报警告
    ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(<App />)
}
